<!-- BEGIN: list -->
<div id="content-list">
	<form name="appForm" method="post">
		<div class="content-header h_title">
			<h2 class="manage-product">Danh sách sản phẩm</h2>
			<div class="content-buttons">
				<input type="button" value="Thêm sản phẩm" class="button" onclick="window.location.href='?c=product&a=add'" />
				<input type="button" value="Xóa" class="button" onclick="onDeleteMulti('?c=product&a=delete')" />
			</div>
			
			<div class="clr"></div>
			
		</div>
		<div class="grid">
			<table id="productGrid_table" class="data" cellspacing="0">
				<thead>
					<tr class="headings">
						<th width="10%">Ảnh</th>
						<th width="20%">Tên</th>
						<th width="20%">Danh mục</th>
						<th width="10%">Giá</th>
                        <th width="20%">Ngày đăng</th>
						<th width="10%">Thao tác</th>
						<th width="10%"><input type="checkbox" name="checkall" value="" onclick="onCheckAll('checkall')" /></th>
					</tr>
				</thead>
				<tbody>
                	<!-- BEGIN: listpro -->
                    <tr>
						<td>{listpro.image}</td>
						<td>{listpro.product_name}</td>
						<td>{listpro.category_id}</td>
						<td>{listpro.price}</td>
                        <td>{listpro.createddate}</td>
						<td><a href="?c=product&a=edit&id={listpro.product_id}" title="Sửa" style="margin:0 10px 0 0"><img src="img/icons/edit.gif" /></a><a href="javascript:void(0)" title="Xóa" onclick="onDelSignle({listpro.product_id}, 'product')"><img src="img/icons/delete.gif" /></a></td>
						<td><input type="checkbox" name="chk[]" value="{listpro.product_id}" /></td>
					</tr>
                	<!-- END: listpro -->
                    <!-- BEGIN: norecord -->
					<tr>
						<td class="empty-text a-center" colspan="7">No records found.</td>
					</tr>
                     <!-- END: norecord -->
				</tbody>
			</table>
			<div class="pagination">
				{pages}
			</div>
		</div>
	</form>
</div>
<!-- END: list -->